package org.turbobytes.unikey.util;

import java.util.List;
import java.util.Collection;

/**
 * Collection utilities
 *
 * @author Ganeshji Marwaha
 * @since Aug 8, 2010
 */
public class CollectionUtil {

  public static boolean containsIgnoreCase(Collection<String> collection, String data) {
    for(String str: collection) {
      if(StringUtil.equalsIgnoreCase(str, data)) return true;
    }
    return false;
  }
}
